[ 'from' => ['required', 'date_format:Y-m-d', 'before_or_equal:to'], 'to' => ['required', 'date_format:Y-m-d'] ] //@sujay